/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.xs_medal.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.xs_medal.entity.XsMedal;
import com.jeeplus.modules.xs_medal.mapper.XsMedalMapper;

/**
 * 勋章信息Service
 * @author 天竹子
 * @version 2021-07-15
 */
@Service
@Transactional(readOnly = true)
public class XsMedalService extends CrudService<XsMedalMapper, XsMedal> {

	public XsMedal get(String id) {
		return super.get(id);
	}
	
	public List<XsMedal> findList(XsMedal xsMedal) {
		return super.findList(xsMedal);
	}
	
	public Page<XsMedal> findPage(Page<XsMedal> page, XsMedal xsMedal) {
		return super.findPage(page, xsMedal);
	}
	
	@Transactional(readOnly = false)
	public void save(XsMedal xsMedal) {
		super.save(xsMedal);
	}
	
	@Transactional(readOnly = false)
	public void delete(XsMedal xsMedal) {
		super.delete(xsMedal);
	}
	
}